provider Spike Protection GET
/api/0/organizations/{organization_id_or_slug}/notifications/actions/ @utdk/sentry
/api/0/organizations/{organization_id_or_slug}/notifications/actions/ List Spike Protection Notifications
Returns all Spike Protection Notification Actions for an organization.
Notification Actions notify a set of members when an action has been triggered through a notification service such as Slack or Sentry.
For example, organization owners and managers can receive an email when a spike occurs.
You can use either the `project` or `projectSlug` query parameter to filter for certain projects. Note that if both are present, `projectSlug` takes priority.
- organization_id_or_slug path required
- The ID or slug of the organization the resource belongs to.
- string
- project query
- The IDs of projects to filter by. `-1` means all available projects. For example, the following are valid parameters: - `/?project=1234&project=56789` - `/?project=-1`
- array
- project_id_or_slug query
- The project slugs to filter by. Use `$all` to include all available projects. For example, the following are valid parameters: - `/?projectSlug=$all` - `/?projectSlug=android&projectSlug=javascript-react`
- array
- triggerType query
- Type of the trigger that causes the notification. The only supported value right now is: `spike-protection`
- string
Try it
Authentication
Configure credentials for API Reference
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.
Saved automatically to browser storage.
Code snippet
Updates live as you fill in the form above.
TypeScript
import sentry from '@utdk/sentry';
await sentry.listSpikeProtectionNotifications()